<template>
  <BaseDialog inject-key="NIL_FORM">
    <n-form-item label="评论内容">
      <n-input
        v-model:value="formData.form.items.text"
        :disabled="formData.form.loading"
        type="textarea"
        rows="10"
        placeholder="请输入文本"
        :show-count="false"
      />
    </n-form-item>
  </BaseDialog>
</template>

<script setup>
import { inject } from "vue";

const formData = inject("NIL_FORM");
</script>
